package com.ruoyi.recycle.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@NoArgsConstructor
@ApiModel("用户登录请求体")
public class LoginDTO implements Serializable {
    private static final long serialVersionUID = 2173215171716431344L;
    @ApiModelProperty(name = "username", value = "用户密码", required = true)
    private String username;
    @ApiModelProperty(name = "password", value = "用户密码", required = true)
    private String password;
    @ApiModelProperty(name = "openId", value = "用户openId,首次用户登录时需要,往后登录不需要")
    private String openId;
}
